<include file="header" />

<div class="main_container" id="forms_page">
	<div class="row-fluid">
		<ul class="breadcrumb">
			<li><a href="#">Home</a> <span class="divider">/</span></li>
			<li><a href="#">Features</a> <span class="divider">/</span></li>
			<li class="active">Forms</li>
		</ul>
		<h2 class="heading">修改社团活动</h2>
	</div>

	<div class="row-fluid">
		<div class="widget widget-padding span12">

			<div class="widget-header">
				<i class="icon-list-alt"></i>
				<h5>社团活动</h5>

				<div class="widget-buttons">
					<a href="#" data-title="Collapse" data-collapsed="false"
						class="tip collapse" data-original-title=""><i
						class="icon-chevron-up"></i></a>
				</div>
			</div>


			<div class="widget-body">
				<div class="widget-forms clearfix">
				
					<form class="form-horizontal" method="post" enctype="multipart/form-data" action="updatePractice">

						<input type="hidden" name="pid" value="{$practices.pid}">

						<div class="control-group">
							<label for="name" class=" control-label">活动名称</label>
							<div class="controls">
								<input type="text" class="form-control" id="name"
									name="name" placeholder="name"
									value="{$practices.name}">
							</div>
						</div>

						<div class="control-group">
							<label for="groupname" class=" control-label">社团名称</label>
							<div class="controls">
								<input type="text" class="form-control" id="groupname"
									name="groupname" placeholder="groupname"
									value="{$practices.groupname}">
							</div>
						</div>

						<div class="control-group">
							<label for="puser" class="control-label">发布人用户名</label>

							<div class="controls">
								<input type="text" class=" form-control " id="puser" name="puser"
									placeholder="puser" value="{$practices.puser}">
							</div>
						</div>

					<!-- 	<div class="control-group">
							<label for="pdate" class="col-md-2 control-label">发布时间</label>
							<div class="controls">
								<input type="datetime" class="form-control" id="pdate" name="pdate"
									placeholder="pdate" value="{$practices.pdate}">
							</div>
						</div> -->

							<div class="control-group">
							<label for="ptime" class="col-md-2 control-label">活动时间</label>
							<div class="controls">
								<input type="datetime" class="form-control" id="ptime" name="ptime"
									placeholder="ptime" value="{$practices.ptime}" disabled="disabled"><br/>
								<input type="datetime-local" class="form-control" id="ptime" name="ptime"
									placeholder="ptime" value="{$practices.ptime}">
							</div>
						</div>
						<!-- 	
									
										<td class="col-sm-1">活动文件下载</td>

										<td>{$pr.pfile}</td>
										
									
			             -->
			             
						<div class="control-group">
							<label for="place" class="control-label">活动地点</label>

							<div class="controls">
								<input type="text" class=" form-control " id="place"
									name="place" placeholder="place" value="{$practices.place}">
							</div>
						</div>
						
					<div class="control-group">
                    <label class="control-label">活动介绍</label>
                      <div class="controls">
                        <textarea name="intro" class="span3" rows="5" style="height:100px;">{$practices.intro}</textarea>
                      </div>
                  </div>
						
						
							<div class="control-group">
                    <label class="control-label">注意事项</label>
                      <div class="controls">
                        <textarea name="matters" class="span3" rows="5" style="height:100px;">{$practices.matters}</textarea>
                      </div>
                  </div>

						<div class="control-group">
							<label for="image" class="col-md-2 control-label">原始文件</label>
							<div class="controls">
									<td><a href="__PUBLIC__/uploads/file/{$pr.pfile}" ><i class="icon-envelope"></i> 文件下载 </a></td>
							</div>
						</div>
						
						<div class="control-group">
							<label for="pfile" class="col-md-2 control-label">修改文件</label>
							<div class="controls">
								<input type="file" id="pfile" name="pfile">
							</div>

						</div>
					

					
					<div class="widget-footer">
				<button class="btn btn-primary" type="submit">Save</button>
				<button class="btn" type="button">Cancel</button>
			</div>
			</form>
				</div>
				
				
			
			</div>

			
			</div>
			
		</div>
	</div>



	<include file="footer" />